home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 015a / m6txt.zip / MSDOSRG.TXT < prev    next >
Text File  |  1993-04-04  |  68KB  |  1,497 lines

  1. MICROSOFT MS-DOS 6 REVIEWER'S GUIDE
  2. Microsoft confidential information.  Share only under non-
  3. disclosure until announcement.
  4.  
  5.                               7
  6.  
  7.  
  8.                                        Microsoft Canada Inc.
  9.                                           320 Matheson Blvd.
  10.                                      Mississauga, ON L5R 3R1
  11.                                               (416) 568-0434
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                  Microsoft MS-DOS 6 Upgrade
  23.  
  24.                       Reviewer's Guide
  25.  
  26.                               
  27.  
  28.                               
  29.  
  30.                                       
  31.                                       
  32.                                       
  33.                                       
  34.                                       
  35.                                       For further
  36.                                       information contact:
  37.                                       
  38.                                       Microsoft Canada Inc.
  39.                                       Tim Stewart, National
  40.                                       Marketing Mgr
  41.                                       Marc Camm, Group
  42.                                       Product Mgr
  43.                                       Alec Saunders, Product
  44.                                       Mgr
  45.                                       (416) 568-0434
  46.                                       
  47.                                       Creative Marketing
  48.                                       Network
  49.                                       Susan Taylor
  50.                                       (416) 539-0694
  51.                                       
  52.                                       
  53.                                       
  54. Microsoft MS-DOS 6 Reviewer's Guide
  55.  
  56. Table of Contents
  57.  
  58. Microsoft's vision for MS-DOS                            3
  59. Learning from our customers                              3
  60. What should a user expect from MS-DOS?                   4
  61. Improvements in MS-DOS 6                                 5
  62. A walk through MS-DOS 6                                  9
  63. Appendix A:  Technical details on DoubleSpace
  64. compression                                              16
  65. Appendix B:  A brief history of MS-DOS                   22
  66.  
  67.  
  68. Microsoft's vision for MS-DOS
  69.  
  70. MS-DOS is now in its twelfth year and it has over 100
  71. million users.  Since its release in 1981 the computing
  72. world has changed dramatically, but MS-DOS continues to
  73. evolve and be a thriving platform.  As we move into the
  74. future, three key user needs comprise our vision for MS-DOS:
  75.  
  76. MS-DOS must be a superior platform for Windows
  77. Windows has become a standard.  More than half of all new
  78. PCs are shipped with Windows, and the number is growing.
  79. The Windows application market is approaching the size of
  80. the MS-DOS applications market.  Given the widespread use of
  81. Windows, we plan to evolve MS-DOS over time to:
  82. Provide the base technology that Windows needs to improve
  83. Become more tightly integrated with Windows
  84.  
  85. MS-DOS must improve for MS-DOS users
  86. Notwithstanding the success of Windows, for a host of
  87. reasons people will be using only MS-DOS long into the
  88. future.  For example, many people are comfortable with MS-
  89. DOS and their MS-DOS applications, or rely on vertical
  90. applications not yet ported to Windows, or use a computer
  91. that cannot run Windows.  Microsoft will continue to improve
  92. MS-DOS to provide more and better functionality for MS-DOS
  93. users while maintaining strict backwards compatibility.  We
  94. are committed to MS-DOS:  MS-DOS 5, MS-DOS 6, and parallel
  95. development of the next major release after MS-DOS 6 are
  96. evidence of our commitment.
  97.  
  98. MS-DOS must be safe and easy
  99. Most computer users are not experts, and there are a huge
  100. number of MS-DOS users.  Therefore, it is imperative that
  101. new features be consciously designed to be safe, so users
  102. need not worry about data loss, system failure or even human
  103. error, and easy, so that the functionality is usable by more
  104. than just experts.
  105.  
  106. These three goals - supporting Windows, improving MS-DOS
  107. itself, and safety and ease - are reflected throughout MS-
  108. DOS 6, and will be reflected in future versions as well.
  109.  
  110.  
  111. Learning from our customers
  112.  
  113. Until MS-DOS 5, Microsoft distributed MS-DOS exclusively
  114. through PC manufacturers.  As a result, MS-DOS improvements
  115. were typically hardware-oriented and geared towards the
  116. needs of these customers:  high-density floppy support,
  117. large hard disk partition support, and so on.
  118.  
  119. The release of MS-DOS 5, and specifically the MS-DOS 5
  120. Upgrade, was our first experience in selling an MS-DOS
  121. product directly to end users.  It has been an enlightening
  122. experience.  For the first time we talked to user groups and
  123. other customers, conducted market research and received
  124. extensive product support feedback.  We have learned a lot
  125. over the last year-and-a-half about what people want in MS-
  126. DOS, and this learning is reflected in MS-DOS 6.
  127.  
  128. What should a user expect from MS-DOS?
  129.  
  130. Based on our experience selling MS-DOS through PC
  131. manufacturers and as an upgrade, we would like to offer the
  132. following MS-DOS testing criteria.  These criteria are
  133. activity-based; that is, based on what users actually do
  134. with MS-DOS.  Although Compatibility and Windows Support are
  135. not activities, they are clearly critical measures of any PC
  136. operating system.  Also, we believe that features within
  137. each of the areas should be evaluated using three measures:
  138. Safety:  Users expect the highest levels of reliability and
  139.   compatibility from MS-DOS
  140. Ease:  MS-DOS features should be accessible to a wide range
  141.   of users
  142. Flexibility:  Advanced users should be able to configure and
  143.   optimize MS-DOS to their liking
  144.  
  145. Compatibility
  146. Users rely on MS-DOS to run tens of thousands of products.
  147. They rely not only on Microsoft to test new versions of MS-
  148. DOS exhaustively to guarantee compatibility with existing
  149. products, but also on software and hardware vendors to test
  150. their new products on MS-DOS as well.  Ultimately,
  151. compatibility is what defines MS-DOS; if it is not
  152. completely compatible, it is not MS-DOS.
  153.  
  154. Windows Support
  155. MS-DOS should do more than just run Windows.  It should
  156. provide the technology necessary to make Windows perform at
  157. its best.  While continuing to provide benefits to MS-DOS-
  158. only users, the operating system should give the same
  159. benefits to Windows users in their preferred environment.
  160.  
  161. Setup and Installation
  162. Setup should be easy enough for everyone to use, and that
  163. means not only thoughtful design but sophisticated hardware
  164. and software detection.  Setup should also be safe, and able
  165. to reverse the changes it makes or recover from accidents
  166. like pulled plugs.  Finally, ease should not mean
  167. inflexibility; advanced users should be able to tailor their
  168. configuration as they wish.
  169.  
  170. Hard Disk Management
  171. The capacity and speed of hard disks are constantly limiting
  172. factors.  MS-DOS needs to provide safe and easy solutions
  173. that let users make the most of their media resources;
  174. safety is critical due to the value of disk contents.  It
  175. should also provide information so advanced users can
  176. optimize intelligently.
  177.  
  178. Memory Management
  179. Memory is another precious resource that MS-DOS should
  180. manage to its fullest.   As memory management is both
  181. hazardous and complex, safety and automation are critical.
  182. But given the huge variety of configurations, flexibility is
  183. necessary as well.
  184.  
  185. Data Protection
  186. Data can be deleted or lost due to user error, system
  187. failure, computer viruses, or application problems. MS-DOS
  188. should provide the user tools to ensure the integrity of
  189. their data.
  190.  
  191. System Startup
  192. Starting the system is an extremely common task.  Most users
  193. start their system at least once a day, and many start it
  194. several times a day.  The startup process should be both
  195. safe and flexible.
  196.  
  197. Documentation and Help
  198. Documentation should be accessible and to-the-point, and not
  199. forbidding.  On-line help should be available in all parts
  200. of the system.
  201.  
  202. Improvements in MS-DOS 6
  203.  
  204. The following summarizes the key improvements in MS-DOS 6.
  205. Improvements have been grouped into the eight areas listed
  206. under "What should a user expect from MS-DOS?"
  207.  
  208. Compatibility
  209. Improvements in an operating system are not limited to
  210. features.  Improvements in testing methodologies are equally
  211. important since compatibility is so critical to operating
  212. system users.  The MS-DOS 5 beta test succeeded in ensuring
  213. compatibility, and with MS-DOS 6 we have implemented new
  214. measures to further improve our beta testing quality. Some
  215. of these measures include:
  216.  
  217.   Beta implementation:  Instead of releasing new betas to
  218.   the same testers every few months, as with MS-DOS 5, we
  219.   are rolling out new betas to new testers every few weeks
  220.   in order to continuously test and re-test bug fixes.  MS-
  221.   DOS 5 had three beta releases and over 7000 beta sites;
  222.   MS-DOS 6 will have at least six releases and well over
  223.   10,000 sites worldwide.
  224.   Test scripts:  All beta testers receive a test script to
  225.   familiarize them with MS-DOS 6 and to ensure that they
  226.   exercise the new features.
  227.   Testers of all skill levels:  We actively recruited
  228.   novice and intermediate beta testers in order to test for
  229.   usability flaws as well as compatibility.
  230.  
  231. Setup and Installation
  232. The safety and ease of the MS-DOS 5 Upgrade installation
  233. program proved to be a key feature in that it enabled users
  234. of all skill levels to upgrade their MS-DOS.  Building on
  235. this foundation, the MS-DOS 6 Upgrade installation program
  236. makes it even easier to get up and running:
  237.  
  238.   Easy installation:  Sophisticated configuration detection
  239.   lets users install the MS-DOS 6 Upgrade with only a few
  240.   keystrokes and without any knowledge of their system.
  241.   Flexible installation:  Lets users install or not install
  242.   certain optional MS-DOS 6 components.
  243.   Maintenance mode installation:  Lets users install the
  244.   optional components at a later time without having to
  245.   reinstall all of MS-DOS 6.
  246.   Automatic cache installation:  Saves users from having to
  247.   install SMARTDRV, the MS-DOS cache. (see "Hard Disk
  248.   Management" below for more information on SMARTDRV)
  249.   Automatic compressed system upgrade:  Upgrades systems
  250.   compressed using stand-alone compression programs such as
  251.   Stacker or Superstor to MS-DOS 6 without user
  252.   intervention.
  253.   OS/2 upgrade:  If OS/2 is detected, the user has the
  254.   choice of de-installing OS/2 or installing the MS-DOS 6
  255.   Upgrade alongside OS/2.
  256.  
  257. Hard Disk Management
  258. The goal of MS-DOS 6's hard disk management is to provide
  259. safe and easy solutions to two common user problems:  Full
  260. hard disks and slow hard disks.  Integrated compression
  261. provides relief for the former, and improved caching and
  262. defragmentation address the latter.
  263.  
  264. Integrated Compression:  DoubleSpace
  265. DoubleSpace increases most users' hard disk capacity by
  266. about two times.  The appendix contains technical detail on
  267. DoubleSpace; highlights include:
  268.   Easy compression:  The usability problems of add-on
  269.   compression products, such as drive-swapping and the need
  270.   to constantly synchronize CONFIG.SYS and AUTOEXEC.BAT
  271.   between drives, are eliminated because DoubleSpace is
  272.   integrated with the MS-DOS kernel.
  273.   Safe compression:  The MS-DOS kernel, DoubleSpace and the
  274.   Smartdrv cache are designed to work together to provide
  275.   safe compression.
  276.   Easy setup:  Users can compress the data already on their
  277.   disks,  simply by typing DBLSPACE.
  278.   Safe Setup:  DoubleSpace setup is restartable, even if
  279.   the user accidentally pulls the plug in the middle of
  280.   compressing their hard disk.
  281.   DoubleSpace Manager:  The full-screen DBLSPACE utility
  282.   lets users perform housekeeping tasks such as creating,
  283.   deleting, growing or shrinking compressed drives.
  284.   Floppy disk support:  Users can compress floppy disks as
  285.   well as other removable media.
  286.  
  287. A Compression Standard:  MRCI
  288. The Microsoft Real-time Compression Interface, or MRCI,
  289. builds a compression standard by defining a standard way for
  290. users and providers of compression to communicate:
  291.   A software standard:  MRCI defines an API that makes
  292.   DoubleSpace's compression services available to all
  293.   software, such as backup programs or the Microsoft Flash
  294.   File System.
  295.   A hardware standard:  MRCI defines a standard way for
  296.   compression hardware to replace and enhance DoubleSpace's
  297.   compression services; DoubleSpace itself checks for the
  298.   presence of hardware and discards its own compression
  299.   routines if hardware is available.
  300.  
  301. Improved caching:  Smartdrv
  302. By caching disk reads and writes in memory, Smartdrv speeds
  303. hard disk performance:
  304.   Ease-of-use:  MS-DOS 6 Setup installs Smartdrv
  305.   automatically on all users' systems.
  306.   Write-behind caching:  Smartdrv now caches disk writes as
  307.   well as reads, greatly increasing performance.
  308.   DoubleSpace integration:  Smartdrv caches compressed
  309.   data, which increases effective cache size and
  310.   performance without requiring more memory.
  311.   Smartmon:  A Windows utility that lets users monitor and
  312.   tune Smartdrv performance.
  313.  
  314. Defragmentation
  315. Defrag, an easy-to-use subset of the Norton Utilities'
  316. Speedisk, rearranges files and free space on users' hard
  317. disks to speed performance:
  318.   DoubleSpace integration:  Defrag can defragment
  319.   compressed DoubleSpace drives as well as uncompressed
  320.   drives.
  321.  
  322. Memory Management
  323. Although memory management was much improved in MS-DOS 5, it
  324. was not easy to use.  MS-DOS 6 provides the industry's first
  325. "ergonomic" memory management; that is, memory management
  326. for everyone.  MS-DOS 6 also provides as much as 104K more
  327. upper memory than MS-DOS 5, and in sum is designed to be a
  328. complete memory management solution:
  329.  
  330. Easy and Safe Optimization:  Memmaker
  331.   Safe optimization:  Memmaker is designed never to leave
  332.   the user's system in a state of disarray.  If Memmaker
  333.   has a memory conflict, after a cold or warm reboot it
  334.   regains control and lets the user try again with
  335.   different settings, or undo all changes.
  336.   Easy optimization:  Memmaker can run in Express Mode,
  337.   which requires only two keystrokes to initiate
  338.   optimization; Custom Mode, which lets advanced users
  339.   adjust the default parameters; and Batch Mode, which
  340.   requires no user interaction at all.
  341.   Windows optimization:  Memmaker accounts for  Windows'
  342.   use of upper memory when optimizing in order to create
  343.   more memory for MS-DOS applications running under
  344.   Windows.
  345.   Block control:  Memmaker takes advantage of MS-DOS 6's
  346.   ability to load programs into specific blocks of upper
  347.   memory.
  348.   Compression-aware: Memmaker optimizes even systems with
  349.   add-on compression products installed.
  350.   Self-Moving program aware:  Memmaker optimizes programs
  351.   like SMARTDRV, UNDELETE and  POWER that take advantage of
  352.   API's introduced in MS-DOS 5 in order to load themselves
  353.   into upper memory automatically.
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  More Memory:  Enhanced EMM386
  360.   More upper memory:  EMM386 now recovers up to 200K of
  361.   upper memory automatically.
  362.   Dynamic EMS/XMS allocation:   EMM386 now allocates EMS
  363.   and XMS memory from a shared pool so users can run
  364.   applications requiring either type of memory without
  365.   having to know anything about EMS and XMS.
  366.  
  367. Better Memory Viewing Tools
  368.   MSD:  The Microsoft System Diagnostics displays memory
  369.   map information as well as a detailed system profile.
  370.   Enhanced Mem Command:   The new /Free option details
  371.   unused memory blocks, and the /Module option provides
  372.   information on a specific program.
  373.  
  374. Data Protection
  375. MS-DOS 6 provides users several new tools to protect their
  376. data, specifically MS-DOS and Windows versions of Backup,
  377. Anti-Virus and Undelete.
  378.  
  379. Backup for MS-DOS and Backup for Windows
  380. Backup in MS-DOS 6 is licensed from Symantec and based on
  381. their award-winning Norton Backup. Key benefits include:
  382.  
  383.   Ease-of-use:  A full-screen interface, intuitive design,
  384.   and both MS-DOS and Windows versions lets all users
  385.   backup data easily and regularly.
  386.   Reliability:  Advanced error correction enables data
  387.   recovery data from damaged disks, and the file comparison
  388.   option verifies data integrity and alerts users to any
  389.   abnormal changes to files.
  390.   DoubleSpace compression:  Using DoubleSpace, data is
  391.   saved in compressed form to speed backups and reduce the
  392.   number of floppy disks required.
  393.   Configurable:  Among other options, users can select what
  394.   files and directories they want to backup or restore, and
  395.   choose among different backup types such as full,
  396.   incremental or differential.
  397.  
  398. Anti-Virus for MS-DOS and Anti-Virus for Windows
  399. Anti-virus is licensed from Central Point Software and based
  400. on their award-winning Central Point Anti-Virus.  Key
  401. benefits include:
  402.  
  403.   Known virus protection:  Anti-virus scans both memory and
  404.   disks for known viruses, and can clean infected files.
  405.   Unknown virus protection:  Checksumming protects
  406.   executable files from being modified, and VSafe, a memory
  407.   resident program, can continuously guard against virus-
  408.   like behavior.
  409.   Ease-of-use:  Both a full-screen MS-DOS version and a
  410.   Windows version make it easy for users to scan for
  411.   viruses; Windows users can even scan in the background.
  412.   Ongoing maintenance:  All MS-DOS users can receive two
  413.   anti-virus updates at cost, and ongoing anti-virus
  414.   subscriptions are available from Central Point Software.
  415.  
  416. Undelete for MS-DOS and Undelete for Windows
  417. Undelete has been significantly enhanced over the undelete
  418. provided in MS-DOS 5, and is licensed from Central Point
  419. Software.  Highlights of undelete include:
  420.  
  421.   Windows interface:  Windows users can now recover files
  422.   without having to exit to MS-DOS.
  423.   Better protection:   In addition to the two levels of
  424.   protection offered in MS-DOS 5 (standard and delete-
  425.   tracking), undelete in MS-DOS 6 adds a new level of
  426.   protection (delete sentry) that guarantees recovery of
  427.   deleted files, even if on a network drive.
  428.   Directory undelete: Deleted directories can now be
  429.   recovered as well as deleted files.
  430.  
  431. System Startup
  432. System startup is both configurable and foolproof using MS-
  433. DOS 6.
  434.  
  435.   Clean start:  "The end of the boot floppy" - users
  436.   experiencing configuration problems can bypass CONFIG.SYS
  437.   and AUTOEXEC.BAT and boot a "clean" system by holding
  438.   down F5 during bootup.
  439.   Interactive start:  Users holding down F8 during bootup
  440.   are prompted [Y/N] for every line in CONFIG.SYS and can
  441.   choose to bypass AUTOEXEC.BAT as well.
  442.   Multi-config:  By creating menu items and corresponding
  443.   menu blocks in their CONFIG.SYS, users can boot to a menu
  444.   and choose among different boot configurations.
  445.   Choice:  A batch command that accepts keyboard input and
  446.   lets users construct simple menus.
  447.  
  448. Documentation and Help
  449. New documentation and abundant on-line help make information
  450.   on MS-DOS 6 accessible.
  451.  
  452.   New documentation:  In response to users' main complaint
  453.   about the MS-DOS 5 manuals - that they were too
  454.   voluminous to be approachable - we rewrote the
  455.   documentation to be more concise and focus on the most
  456.   common user tasks and problems.
  457.   On-Line MS-DOS reference:  A full-screen help system that
  458.   provides syntax, examples and notes for all commands and
  459.   device drivers in MS-DOS 6.
  460.   Universal on-line help:  On-line help is available
  461.   everywhere:  The command-line, DoubleSpace, Memmaker,
  462.   Backup for MS-DOS, Backup for Windows, Anti-Virus for MS-
  463.   DOS, Anti-Virus for Windows, Undelete for Windows,
  464.   Defrag, Editor, QBasic, DOSShell and Smartmon.
  465.  
  466. Windows Support and Integration
  467. MS-DOS 6 is designed to be tightly integrated with Windows,
  468. and to bring the same benefits to Windows users as MS-DOS
  469. users.
  470.  
  471.   Backup, Anti-Virus, and Undelete support for Windows:
  472.   These tools, which come in Windows versions as well as MS-
  473.   DOS versions, are accessible from icons in a "Microsoft
  474.   Tools" program group created during setup, from a new
  475.   "Tools" menu created in the File Manager and from the
  476.   button bar in the Windows for Workgroups File Manager.
  477.   DoubleSpace support for Windows:   Information on
  478.   compressed files is available also from the new File
  479.   Manager "Tools" menu, and DoubleSpace installs and works
  480.   seamlessly with Windows' permanent swap files.
  481.  
  482. Memory optimization for Windows:  Memmaker is designed
  483.   specifically to provide maximum memory for MS-DOS
  484.   applications running under Windows.
  485.  
  486. A walk through MS-DOS 6
  487.  
  488. In the following pages we will step through installing the
  489. MS-DOS 6 Upgrade and looking at its new features.  Features
  490. are grouped by the areas listed earlier; to walk-through
  491. simply following the directions in the right column.
  492.  
  493. FEATURE       DESCRIPTION                  DIRECTIONS
  494. Ease of Setup Like the MS-DOS 5 Upgrade,   
  495. &             the MS-DOS 6 Upgrade setup
  496. Installation  is safe and easy so that
  497.               all users may install MS-
  498.               DOS 6.
  499. MS-DOS 6      Setup will automatically       Insert disk
  500. Setup         check several system            1.  At the
  501.               settings and ask you for        MS-DOS
  502.               verification if necessary.      prompt,
  503.                                               type
  504.                                               A:SETUP or
  505.                                               B:SETUP and
  506.                                               press ENTER
  507.                                            
  508.                                              Press Enter
  509.                                            
  510.                                              Press Enter
  511. Windows                                       to verify
  512. Support &     When installing Backup,         settings
  513. Integration   Undelete, and Anti-Virus,    
  514.               Setup lets you install the     Use the
  515.               Windows versions, the MS-       arrow keys
  516.               DOS versions, or both.  To      to install
  517.               save space, it defaults to      Windows &
  518.               Windows versions only on        MS-DOS
  519.               Windows systems and MS-DOS      versions
  520.               versions only for MS-DOS        for all
  521.               systems  (You can install       three
  522.               the others later using          features
  523.               SETUP /E).  We recommend     
  524.               installing both for this       Press ENTER
  525.               walk through.                   and follow
  526.                                               the
  527.                                               remaining
  528.                                               prompts.
  529.                                            
  530.  
  531. Hard Disk     We focused on speeding up    
  532. Management    hard disks and providing
  533.               relief for full disks in MS-
  534.               DOS 6.
  535. DoubleSpace   Full hard disks have become    At the MS-
  536. setup         a universal problem, and by     DOS prompt,
  537.               integrating compression         type
  538.               into the MS-DOS kernel          DBLSPACE
  539.               we've made it safe enough    
  540.               and easy enough for            Press ENTER
  541.               universal use.               
  542.                                              To compress
  543.                                               all the
  544.               DoubleSpace setup performs      data on
  545.               a number of tasks, but          your C:
  546.               they're all automated.  It      data, press
  547.               takes about a minute per        ENTER
  548.               megabyte of data on your     
  549.               hard disk.                     Press C
  550.                                            
  551.               DoubleSpace tells you how    
  552.               much free space you had      
  553.               before on your hard disk       When
  554.               and how much you have now.      DoubleSpace
  555.               It should have grown            setup is
  556.               substantially.                  complete,
  557.                                               press ENTER
  558.               When DoubleSpace is          
  559.               finished and it's rebooted   
  560.               your system, you can resume
  561.               using your system exactly
  562.               as you used it before.
  563.               DoubleSpace doesn't force
  564.               you to change the way you
  565.               work.
  566.               
  567. DoubleSpace   DoubleSpace requires no        At the MS-
  568. manager       ongoing maintenance, but        DOS prompt,
  569.               users who want to optimize      type
  570.               their systems can do so         DBLSPACE
  571.               using the DoubleSpace
  572.               manager.
  573.               
  574. DoubleSpace   You can get compressed         Select
  575. information   drive information such as       Drive/Info
  576.               compression ratio, free
  577.               space and used space.
  578.               
  579. Defragmenting Defragmenting your             Select
  580. your          DoubleSpace drive increases     Tools/
  581. DoubleSpace   performance.                    Defragment
  582. drive                                      
  583.               You can also defragment        Press ENTER
  584.               your DoubleSpace drive by
  585.               typing "defrag" at the MS-
  586.               DOS prompt.
  587.               
  588. Checking your You can check your             Select
  589. drive         DoubleSpace drive integrity     Tools/Chkds
  590.               and correct errors using        k
  591.               chkdsk.
  592.               
  593.               You can also check your
  594.               DoubleSpace drive by typing
  595.               "chkdsk" at the MS-DOS
  596.               prompt.
  597.               
  598. Exiting the   The DoubleSpace manager        Select
  599. DoubleSpace   performs other maintenance      Drive/Exit
  600. manager       tasks as well.  See the
  601.               chapter "Managing Your Hard
  602.               Disk" in the User's Guide
  603.               for more information.
  604.               
  605. Defragmenting If you defragmented your       At the MS-
  606. your hard     hard disk above in the          DOS prompt
  607. disk          "DoubleSpace manager"           type DEFRAG
  608.               section, you should skip
  609.               this section.
  610.               
  611.               However, if you did not
  612.               compress your hard disk
  613.               using DoubleSpace, you can
  614.               defragment your hard disk
  615.               now to optimize its
  616.               performance.
  617.               
  618. Choosing what You can optimize hard or       Select
  619. drive to      floppy disks.  We recommend     Drive and
  620. optimize      optimizing your C: drive.       press ENTER
  621.                                            
  622.               Defrag only recommends         If Defrag
  623.               optimizing if necessary.        recommends
  624.               If you do optimize, you can     optimizatio
  625.               watch defrag rearrange your     n, press
  626.               data so that all the free       ENTER
  627.               and used space are           
  628.               contiguous.  Making the        When
  629.               spaces contiguous shortens      finished,
  630.               the distance the hard disk      select Exit
  631.               heads have to move, and         Defrag and
  632.               this increases performance.     press ENTER
  633.               
  634.  
  635. Data          Backup, Anti-Virus and the   
  636. Protection    improved Undelete  help
  637.               users protect their data
  638.               more reliably.
  639.               
  640. Backup        Backup is greatly improved     At the MS-
  641.               in MS-DOS 6, and Windows        DOS prompt,
  642.               users and MS-DOS users get      type
  643.               the same features with          MSBACKUP
  644. Windows       similarly designed           
  645. Support &     interfaces.                  
  646. Integration   
  647.               This portion of the walk-
  648.               through will use the MS-DOS
  649.               version.  Later, you can
  650.               use the same feature within
  651.               Windows.
  652.               
  653. Backup:       You must first configure       Press ENTER
  654. Configuration backup  to ensure that          to Start
  655.               reliable backups can be         Configurati
  656.               made.  You will need two        on
  657.               blank floppies for the       
  658.               compatibility test.          
  659.                                              Follow the
  660.               The compatibility test is       remaining
  661.               important because it            prompts and
  662.               verifies that Backup is         press ENTER
  663.               configured correctly for        to accept
  664.               your computer.                  the
  665.                                               defaults
  666.                                            
  667.                                              At the end
  668.                                               of testing,
  669.                                               Click on
  670.                                               the Save
  671.                                               option
  672.                                            
  673. Backup:       Backup lets you specify        Select the
  674. Backing Up    which files to save and to      BACKUP
  675. Data          configure the program to        option from
  676.               your needs.  These              BACKUP menu
  677.               selections are stored in     
  678.               setup files. Backup loads a    Select the
  679.               default setup file called       drive you
  680.               DEFAULT.SET.  Setup files       wish to
  681.               automate the setup process      backup from
  682.               and save configuration       
  683.               time.                          Choose
  684.                                               SELECT
  685.               First select the files you      FILES
  686.               wish to backup.              
  687.                                              After
  688.                                               highlightin
  689.               Backing up files will           g a
  690.               require at least one blank      directory
  691.               disk.  Whether additional       or file you
  692.               are required depends upon       wish to
  693.               how many files you wish to      backup,
  694.               back up.                        select it
  695.                                               by pressing
  696.                                               the
  697.                                               SPACEBAR.
  698.                                            
  699.                                              Choose OK
  700.               Saving this configuration    
  701.               in a setup file lets you       Select
  702.               run the same backup at a        File/Save
  703.               later time without having       Setup As
  704.               to reconfigure.                 and name
  705.                                               the
  706.               Backup uses compression         configurati
  707.               both to speed backups and       on.
  708.               save on floppy disks, and    
  709.               also uses error correction     Choose
  710.               so you can restore files        START
  711.               even from partially damaged     BACKUP
  712.               floppy disks.
  713.               
  714. Backup:       You can easily restore data    Select
  715. Restoring     from the backup set to the      BACKUP.
  716. Data          specified location.             RESTORE
  717.                                            
  718.               As part of the backup          Select the
  719.               process, Backup creates a       catalog
  720.               backup set catalog that         from the
  721.               contains information about      backup you
  722.               the files that were backed      just made
  723.               up. Backup catalogs names       to restore
  724.               include the date of backup      files from
  725.               and type of backup              BACKUP SET
  726.               performed.                      CATALOG.
  727.                                            
  728.               You can restore all the        If you wish
  729.               files backed up, or any         to restore
  730.               selection.  The default is      only some
  731.               to restore all.                 files,
  732.                                               choose
  733.                                               SELECT
  734.                                               FILES
  735.                                            
  736.                                              Select the
  737.                                               files to
  738.                                               restore and
  739.               You can restore to the          choose OK.
  740.               original drive and path, or  
  741.               to a new location.             Select the
  742.                                               destination
  743.                                               drive or
  744.                                               path.
  745.                                            
  746.                                              Select
  747.               That concludes the MS-DOS       START
  748.               Backup tour.                    RESTORE
  749.                                            
  750.                                              When
  751.                                               complete,
  752.                                               select QUIT
  753.                                            
  754. Microsoft     Microsoft's Anti-Virus         At the MS-
  755. Anti-Virus    provides active prevention,     DOS prompt,
  756.               detection and removal of        type MSAV
  757.               viruses.                     
  758. Windows                                    
  759. Support &     Like Backup, Anti-Virus
  760. Integration   provides Windows users and
  761.               MS-DOS users the same
  762.               functionally.
  763.               This portion of the walk-
  764.               through uses the MS-DOS
  765.               version.  We will look at
  766.               Anti-Virus for Windows
  767.               later.
  768.               
  769.               Tip: To detect viruses
  770.               every time your computer is
  771.               turned on, add the
  772.               following command to your
  773.               AUTOEXEC.BAT file:  MSAV/N
  774.               
  775. Scanning for  Microsoft's Anti-Virus         Choose
  776. Viruses       protects your computer from     DETECT
  777.               viruses by scanning both        option.
  778.               the computer's memory and       You may
  779.               drives. You can scan            press F3 to
  780.               network drives as well.         interrupt
  781.                                               virus
  782.               Tip: In Anti-Virus for MS-      scanning.
  783.               DOS, hit the F9 key to view  
  784.               a list of viruses. You can     When
  785.               learn more about a virus by     complete,
  786.               highlighting it and             choose EXIT
  787.               pressing ENTER.
  788.               
  789. Undelete for  Like Backup and Anti-Virus,    Start
  790. Windows       Undelete comes in both          Windows and
  791.               Windows & MS-DOS versions.      run the
  792.               MS-DOS users can type           File
  793.               UNDELETE at the command         Manager
  794.               prompt.  Windows users can   
  795.               configure and use undelete     In the DOS
  796.               via a Windows interface.        directory,
  797.               Let's take a look.              delete the
  798.                                               file
  799.                                               DEBUG.EXE
  800.               During Setup, the MS-DOS 6   
  801.               Upgrade makes the necessary    Select
  802.               modifications to integrate      File/Undele
  803.               Undelete into the File          te
  804.               Manager.                     
  805.                                              Select
  806.               In MS-DOS 6, you have three     ?EBUG.EXE
  807.               levels of undelete           
  808.               protection:  recovering        Click the
  809.               deleted files under MS-DOS,     UNDELETE
  810.               loading a TSR which tracks      button
  811.               deleted files, and saving    
  812.               deleted files in a hidden      Type D and
  813.               directory.  These three         Click OK
  814.               levels are configurable      
  815.               from Windows Undelete under    Select
  816.               Options\Configure Delete        File\Exit
  817.               Protection.
  818.               
  819.               Tip:  You may also run
  820.               Undelete for Windows from
  821.               the icon in the Microsoft
  822.               Tools program group.
  823.               
  824. Other Windows During Setup, the MS-DOS 6     Select the
  825. integration   Upgrade also makes the          Tools menu
  826.               necessary modifications to      to run Anti-
  827.               create a new Tools menu in      Virus for
  828.               the File Manager that           Windows,
  829.               contains Anti-Virus, Backup     Backup for
  830.               and DoubleSpace.                Windows, or
  831.                                               access
  832.               Tip:  You may also run Anti-    DoubleSpace
  833.               virus for Windows or Backup     information
  834.               for Windows from their
  835.               icons in the Microsoft
  836.               Tools program group.
  837.               
  838.  
  839. System        We added several features    `
  840. Startup       to make starting up an MS-
  841.               DOS 6 system safer and more
  842.               flexible.
  843.               
  844. Clean Start   In case of configuration       Insert the
  845.               problems, Clean Start lets      Walkthrough
  846.               you bypass CONFIG.SYS and       Disk into
  847.               AUTOEXEC.BAT files during       drive A:
  848.               bootup.  So you may see it      and type
  849.               in action, we have provided     A:CLEAN
  850.               a CONFIG.SYS file on the     
  851.               accompanying disk that will  
  852.               hang your system.            
  853.                                              Remove the
  854.               When you reboot, your           Walkthrough
  855.               system will hang.               Disk from
  856.                                               its drive
  857.                                               and reboot
  858.                                            
  859.                                              Reboot
  860.               Before MS-DOS 6, the only       again.
  861.               solution for this problem       Press F5
  862.               was to find a boot floppy.      immediately
  863.               Now you can always get to       following
  864.               the command prompt.             the
  865.                                               "Starting
  866.                                               MS-DOS"
  867.                                               message.
  868.                                            
  869. Interactive   Interactive Start allows       Reboot
  870. Start         you to select [Y/N] for         again.
  871.               every line in your              Press F8
  872.               CONFIG.SYS during bootup.       after the
  873.               This feature is very useful     system
  874.               for troubleshooting.            beep.
  875.                                            
  876.               Your system still has the      Press Y for
  877.               CONFIG.SYS that causes it       each line
  878.               to hang, and it is hanging      in your
  879.               because of improper EMM386      CONFIG.SYS
  880.               parameters.  To verify that     up to the
  881.               this is the problem,            EMM386.EXE
  882.               execute every line of the       line.
  883.               CONFIG.SYS file except the   
  884.               EMM386 line.                   Press N for
  885.                                               the
  886.                                               EMM386.EXE
  887.                                               line.
  888.                                            
  889.               After processing               Press Y for
  890.               CONFIG.SYS,  you have the       each
  891.               option of bypassing             remaining
  892.               AUTOEXEC.BAT.  This too can     line and
  893.               be useful for                   for the
  894.               troubleshooting.                AUTOEXEC.BA
  895.                                               T.
  896.                                            
  897. Multiconfig   Multiconfig lets you to        Insert the
  898.               choose among different boot     Walkthrough
  899.               configurations by creating      Disk into
  900.               menu items and menu blocks      drive A:
  901.               in your CONFIG.SYS.             and type
  902.                                               A:MULTI
  903.                                            
  904.               This feature is                Remove the
  905.               particularly useful for         Walkthrough
  906.               situations where                Disk from
  907.               configurations need to          its drive
  908.               change regularly, such as       and reboot
  909.               laptops with docking            to see the
  910.               stations, or PCs shared by      Multiconfig
  911.               multiple users.                 menu
  912.               
  913.               The sample CONFIG.SYS
  914.               provided is for laptop
  915.               users.  If you do not
  916.               choose a menu item, it
  917.               defaults after the timer
  918.               runs down to zero.
  919.               
  920.  
  921. Documentation In addition to on-line help  
  922. and Help      throughout the system, MS-
  923.               DOS 6 itself is also
  924.               documented on-line in its
  925.               entirety.
  926.               
  927. On-Line       New full-screen help system    At the MS-
  928. Documentation provides syntax, examples,      DOS prompt,
  929.               and notes for all commands      type HELP
  930.               and device drivers in MS-       CHOICE
  931.               DOS 6.  For instance, to     
  932.               see how to set up Choice,    
  933.               you could look in the        
  934.               EXAMPLES section under         Press ALT-C
  935.               CHOICE.                      
  936.                                              Select
  937.               There is also a listing of      File/Exit
  938.               all MS-DOS 6 commands.
  939.  
  940. Memory        The memory management in MS- 
  941. Management    DOS 6 is designed to be a
  942.               safe, easy and complete
  943.               memory management solution
  944.               for all users.
  945.               
  946. Express Setup You will need a set of non-    Insert the
  947.               optimized configuration         Walkthrough
  948.               files to test this feature.     Disk into
  949.               A set is provided on the        drive A:
  950.               accompanying disk.              and type
  951.                                               A:MEMORY
  952.                                            
  953.                                              Remove the
  954.                                               disk and
  955.                                               reboot
  956.               Memmaker was designed so     
  957.               that even novice users         Type
  958.               could benefit from memory       MEMMAKER at
  959.               optimization.  Our design       the command
  960.               goals for Memmaker were         prompt
  961.               safety and ease, not pure    
  962.               optimality, and so by          Press ENTER
  963.               design it may not free as       to continue
  964.               much memory in all cases as  
  965. Windows       add-on memory managers.        Press ENTER
  966. Support &                                     to select
  967. Integration   Express mode, the default,      EXPRESS
  968.               lets even rank novices       
  969.               optimize memory.  Custom     
  970.               Mode lets advanced users     
  971.               change certain settings.     
  972.                                            
  973.               Memmaker accounts for        
  974.               Windows translation buffers
  975.               when optimizing in order to
  976.               create the largest possible
  977.               DOS boxes under Windows.
  978.               
  979.               Memmaker has made the          Press ENTER
  980.               necessary changes to your       to reboot
  981.               CONFIG.SYS and AUTOEXEC.BAT  
  982.               to measure the size of each  
  983.               device driver and TSR.         press ENTER
  984.                                               to reboot
  985.               Memmaker checks all          
  986.               possible configurations to     Press ENTER
  987.               determine the optimal one.      for Yes
  988.               As a safety precaution, it   
  989.               asks you to make sure        
  990.               everything loads normally    
  991.               during the next reboot.        Press ENTER
  992.                                               to exit
  993.               Memmaker shows your memory      Memmaker
  994.               allocation before and after
  995.               you ran it.
  996.               
  997.               Memmaker is ready to
  998.               restart your system with
  999.               the new memory
  1000.               configuration.
  1001.               
  1002.               Tip:  If you want to
  1003.               optimize your system
  1004.               further, just type Memmaker
  1005.               at the command prompt and
  1006.               select custom mode.
  1007. Restoring     Since this walkthrough         To restore
  1008. your old      replaced your CONFIG.SYS        your old
  1009. configuration and AUTOEXEC.BAT files, you     configurati
  1010.               should restore them now.        on, insert
  1011.                                               the
  1012.               Hope you enjoyed MS-DOS 6!      Walkthrough
  1013.                                               disk and
  1014.                                               type A:RES
  1015.  
  1016. Appendix A:  Technical details on DoubleSpace compression
  1017.  
  1018. Before reading this appendix, you should be familiar with
  1019.   the following:
  1020.   FAT file system
  1021.   Add-on compression products such as Stacker or Superstor
  1022.  
  1023. Introduction
  1024. DoubleSpace is a technology that compresses data stored by
  1025. the FAT file system in real-time.  The term "real-time"
  1026. means that the compression and decompression of data occurs
  1027. as data is written and read, and so is transparent to the
  1028. user.  This is different than off-line compression utilities
  1029. such as PKZip which require separate, manual steps to
  1030. compress and decompress, and so are much more cumbersome.
  1031.  
  1032. DoubleSpace compresses by analyzing a block of data for
  1033. repeated sequences, and then encode these repeated sequences
  1034. as a match in a very compact form.  Consider the following
  1035. sentence:
  1036.  
  1037.    The rain in Spain falls mainly on the plain.
  1038.  
  1039. To compress this sentence, DoubleSpace first identifies the
  1040. repeated sequences then writes them as <offset, length>.
  1041. The offset is the number of bytes to the left where the
  1042. match starts, and the length is the number of bytes matched.
  1043.  
  1044.    The rain <3,3>Sp<9,4>falls m<11,3>ly on <24,4>pl<15,3>.
  1045.  
  1046. Having identified the matches, DoubleSpace now encodes this
  1047. information compactly.  The key is to analyze the frequency
  1048. of occurrence of the offset and length values, and then to
  1049. choose very short encoding for the most common values.
  1050.  
  1051. Setting up DoubleSpace
  1052.  
  1053. The files on your hard disk are still uncompressed after you
  1054. install the MS-DOS 6 Upgrade.  It is when you type DBLSPACE
  1055. for the first time that you actually compress them.
  1056. Compressed files are stored in what is known as a compressed
  1057. volume file, or CVF.  As the figure illustrates, the CVF
  1058. resides on the hard disk, or host drive, and typically takes
  1059. up almost all of the space on it.  Using technology
  1060. described in the next section, DoubleSpace manages the space
  1061. on the CVF, and makes the CVF appear to MS-DOS like just
  1062. another drive.  A small amount of space is left over on the
  1063. host drive for data that cannot or should not be compressed.
  1064. The compressed drive (the CVF) and the uncompressed drive
  1065. (the remaining space on the host drive not used by the CVF)
  1066. are accessed using different drive letters.
  1067.  
  1068. DBLSPACE runs in one of two modes: express or custom.  The
  1069. latter lets you either compress-in-place all the files on
  1070. your hard disk (one partition at a time), or create a new,
  1071. empty compressed drive and leave all your files
  1072. uncompressed; the former, which is the default, only
  1073. compresses-in-place since that is the easier and more
  1074. beneficial way to use compression.
  1075.  
  1076. The compress-in-place operation first creates an empty CVF.
  1077. It then loops as follows until all the files on the hard
  1078. disk are compressed:
  1079.   Read an uncompressed file from the hard disk
  1080.   Compress the file
  1081.   Grow the CVF
  1082.   Write the file to the CVF
  1083.   Delete the uncompressed file from the hard disk
  1084.  
  1085. Compress-in-place takes roughly a minute per megabyte of
  1086. data on the hard disk.  Since this loop could be running for
  1087. hours on some systems, there is an increased possibility
  1088. that a pulled plug or accidental reboot could happen in the
  1089. middle.  For this reason, compress-in-place was designed as
  1090. a safe, restartable operation.   First, by flushing disk
  1091. buffers regularly it ensures that no data is ever in memory
  1092. only; all data in memory is also on the disk.  Second, it
  1093. modifies AUTOEXEC.BAT and checkpoints its progress such that
  1094. after an interruption like a reboot, it can automatically
  1095. pick up exactly where it left off.
  1096.  
  1097. Compress-in-place compresses and moves every file on the
  1098. hard disk to the CVF except for several system files that
  1099. are the only files left on the uncompressed drive.  All are
  1100. either hidden/system or hidden/system/read-only, and so a
  1101. user sees nothing on their uncompressed drive.  These system
  1102. files are:
  1103.  
  1104. 1.IO.SYS         The three MS-DOS system files must be
  1105.   uncompressed for the system to boot
  1106. 2.MSDOS.SYS
  1107. 3.DBLSPACE.BIN
  1108. 4.DBLSPACE.000   The CVF that holds the compressed data
  1109. 5.DBLSPACE.INI      DoubleSpace configuration information
  1110. 6.386SPART.PAR      The Windows permanent swap file cannot
  1111.   be compressed
  1112.  
  1113. DBLSPACE.BIN:  The compression sub-system
  1114. For the first time since its introduction eleven years ago,
  1115. MS-DOS has a new kernel file.  Joining IO.SYS and MSDOS.SYS
  1116. is DBLSPACE.BIN, and it has two components:
  1117.   A disk space manager
  1118.   A compress-decompress engine
  1119.  
  1120. The disk space manager
  1121. DBLSPACE.BIN is a compression sub-system that looks to FAT
  1122. like a block device driver, and the CVF is just another
  1123. drive.  FAT knows about files and directories, while
  1124. DoubleSpace knows only about the sector space it manages
  1125. within the CVF.  DoubleSpace is best thought of as a manager
  1126. of disk space.
  1127.  
  1128. The smallest FAT allocation unit is the cluster, which is 2K
  1129. on a typical system.  So a 1-byte file takes up 2K on the
  1130. disk, and a 40K+1-byte file takes up 42K on the disk.  This
  1131. end-of-file waste, or cluster-overhang, can be significant
  1132. if a user has many small files.
  1133.  
  1134. The smallest DoubleSpace allocation unit is the sector,
  1135. which is 512 bytes on most systems.  This finer granularity
  1136. is possible because DoubleSpace maintains its own disk
  1137. allocation data structures within the CVF that map FAT
  1138. clusters to DoubleSpace sectors.   As a consequence,
  1139. DoubleSpace eliminates cluster-overhang waste.
  1140.  
  1141. The compress-decompress engine
  1142. There are tradeoffs in choosing a compression algorithm:
  1143. speed of compress, speed of decompress, achieved compression
  1144. ratio, and memory consumption.  No algorithm provides the
  1145. best of all.  Speed is clearly tantamount when you must
  1146. compress in real-time, and it is well-understood what
  1147. algorithms are optimal for a real-time system.
  1148. Consequently, the engine in DBLSPACE.BIN, like that in add-
  1149. in compression products, is based on Lempel-Ziv.  Since
  1150. Lempel-Ziv algorithms are extremely well-understood, it is
  1151. not surprising that all MS-DOS compression offerings,
  1152. including DoubleSpace, achieve roughly the same compression
  1153. ratios.
  1154.  
  1155. Speed is affected by two variables:  the efficiency of the
  1156. compress-decompress code and caching.  First, DBLSPACE.BIN
  1157. contains 86/88, 286 and 386-specific code hand-tuned for
  1158. each of those processors.  Second, SMARTDRV.EXE has been
  1159. modified to cache "behind" DBLSPACE.BIN, meaning that it
  1160. caches compressed data.  As a result more data fits in the
  1161. cache, increasing the cache hit rate and increasing
  1162. performance.
  1163.  
  1164. What happens at boot-time
  1165. To understand some of the differences between DoubleSpace
  1166. and an add-on compression product, let's examine how each
  1167. boots the system.   The popular add-on products, such as
  1168. Stacker or Superstor, boot the system similarly, and work as
  1169. follows:
  1170.  
  1171.  
  1172. Step         1        2         3         4          5
  1173. Summary   Power    Begin     Load      Swap      Finish
  1174.           on       processi  compress  drives    processing
  1175.                    ng        ion                 CONFIG.SYS
  1176.                    CONFIG.S  driver
  1177.                    YS        and
  1178.                              mount
  1179.                              CVF
  1180. CONFIG.S           Device=                       
  1181. YS lines           C:\dos\h
  1182. processe           imem.sys
  1183. d
  1184.                    Device=                       
  1185.                    C:\dos\e
  1186.                    mm386.ex
  1187.                    e
  1188.                              Devicehi            
  1189.                              gh=
  1190.                              C:\compr
  1191.                              ess.sys
  1192.                                        Devicehi  
  1193.                                        gh=
  1194.                                        C:\swapd
  1195.                                        rv.sys
  1196.                                        C: D:
  1197.                                                  Devicehigh
  1198.                                                  =
  1199.                                                  C:\mouse\m
  1200.                                                  ouse.sys
  1201.                                                  Devicehigh
  1202.                                                  =
  1203.                                                  C:\dos\ans
  1204.                                                  i.sys
  1205.  
  1206. Step 1:The machine is turned on
  1207. Step 2:MS-DOS begins processing CONFIG.SYS and loads
  1208.     HIMEM.SYS and EMM386.EXE
  1209. Step 3:The compression device driver, which we generically
  1210.     call COMPRESS.SYS, loads, and it mounts the CVF as
  1211.     drive D:
  1212. Step 4:The drive letter swapper, SWAPDRV.SYS, loads, and
  1213.     swaps the drive letters C: and D:, so that the CVF is
  1214.     C: and the uncompressed host drive is D:
  1215. Step 5:MS-DOS finishes processing CONFIG.SYS and loads the
  1216.     remaining device drivers.
  1217.  
  1218. The implementation used by add-on products causes a number
  1219. of knotty usability problems:
  1220.   Parallel directories:  Users must maintain parallel
  1221.   directory structures on  C: and D:.  The uncompressed D:
  1222.   drive (originally C:) must contain all the device drivers
  1223.   that load before the drives are swapped (those loaded in
  1224.   step 2), and the compressed D: (originally C:) drive must
  1225.   contain all files loaded after the drives are swapped
  1226.   (those loaded in step 5).
  1227.   Dual CONFIG.SYS and AUTOEXEC.BAT:  Users must maintain
  1228.   two CONFIG.SYS files, one on C: and one on D:.  Any time
  1229.   a user changes one and reboots, the compression driver
  1230.   must halt the boot process to ask the user if they want
  1231.   to synchronize the CONFIG.SYS file on C: with the one on
  1232.   D:, and if yes, reboot the system again.
  1233.   Installation failure:  Some installation programs, like
  1234.   those of add-on memory managers, fail since they modify
  1235.   CONFIG.SYS to load a device driver before C: and D: are
  1236.   swapped (step 4 above).   When the user reboots after
  1237.   installation they get a "Bad of missing device driver in
  1238.   CONFIG.SYS" error message.
  1239.   Driver deletion problems:  Users who accidentally delete
  1240.   DEVICE=C:\COMPRESS.SYS from CONFIG.SYS lose access to all
  1241.   their compressed data, and most assume they have lost all
  1242.   their data.
  1243.  
  1244. Let's look now at what happens when a DoubleSpace system
  1245.   boots:
  1246.  
  1247.  
  1248.  
  1249.  Step        1        2           3          4
  1250. Summary   Power    IO.SYS    IO.SYS      Process
  1251.           on       loads     loads       CONFIG.SY
  1252.                              DBLSPACE.B  S
  1253.                              IN, which
  1254.                              mounts the
  1255.                              CVF and
  1256.                              swaps
  1257.                              drives
  1258. CONFIG.S                                 Device=
  1259. YS lines                                 C:\dos\hi
  1260. processe                                 mem.sys
  1261. d
  1262.                                          Device=
  1263.                                          C:\dos\em
  1264.                                          m386.exe
  1265.                                          Devicehig
  1266.                                          h=
  1267.                                          C:\mouse\
  1268.                                          mouse.sys
  1269.                                          Devicehig
  1270.                                          h=
  1271.                                          C:\dos\an
  1272.                                          si.sys
  1273.  
  1274. Step 1:The machine is turned on.
  1275. Step 2:IO.SYS loads
  1276. Step 3:IO.SYS loads DBLSPACE.BIN, which mounts the CVF as
  1277.     drive D: and then swaps the drive letters C: and D:, so
  1278.     that the old C: is now D: and vice-versa.  We could
  1279.     have chosen a letter other than D: since DoubleSpace
  1280.     lets users assign any letter from D: to Z: to the
  1281.     uncompressed drive.
  1282. Step 4:  MS-DOS processes CONFIG.SYS normally
  1283.  
  1284. The usability problems in the add-on example disappear
  1285. because IO.SYS loads DoubleSpace before processing
  1286. CONFIG.SYS.  To the user, "C: is C:".  That is, a user's
  1287. compressed C: drive behaves exactly like it did when it was
  1288. uncompressed.  Since the drives are swapped before
  1289. CONFIG.SYS is processed, to the user there is no swapping at
  1290. all.  They can ignore the extra drive letter entirely, like,
  1291. for example, a network drive.  Specifically:
  1292.   No parallel directories:  Like an uncompressed system,
  1293.   only the C: drive has files on it.  As mentioned earlier,
  1294.   the D: drive has no visible files on it.
  1295.   No dual CONFIG.SYS and AUTOEXEC.BAT:  Also like an
  1296.   uncompressed system, there is only one CONFIG.SYS and one
  1297.   AUTOEXEC.BAT.
  1298.   No installation failure:  Installation programs can
  1299.   modify CONFIG.SYS the same as always.
  1300.   No driver deletion problem:  Since IO.SYS loads
  1301.   DBLSPACE.BIN, there is no driver for users to delete.
  1302.  
  1303. The DoubleSpace boot process in detail
  1304. Let's examine the boot process described above in more
  1305. detail, beginning with step 2:
  1306.  
  1307.   After loading, IO.SYS looks on the boot drive for
  1308.   DBLSPACE.BIN.  If it's there, IO.SYS loads it at the top
  1309.   of conventional memory.  If it's not there, IO.SYS knows
  1310.   the system is not compressed and continues the boot
  1311.   process as it does without compression.
  1312.  
  1313.   Note:  The SYS and FORMAT /S commands now copy
  1314.   DBLSPACE.BIN in addition to IO.SYS and MSDOS.SYS, and so
  1315.   all MS-DOS 6 system floppies can boot a compressed
  1316.   system.
  1317.  
  1318.   DBLSPACE.BIN reads a number of settings from
  1319.   DBLSPACE.INI, including the CVFs it should mount as
  1320.   compressed drives and the drive letter it should assign
  1321.   to each.  DoubleSpace supports multiple CVFs on the same
  1322.   host drive and can mount more than one.  CVFs on the same
  1323.   host drive are named in sequential order:  DBLSPACE.001,
  1324.   DBLSPACE.002, and so on.  A CVF named DBLSPACE.000 is
  1325.   special - it means that the user compressed-in-place the
  1326.   data on their C: drive instead of creating a new, empty
  1327.   compressed drive.
  1328.   DBLSPACE.BIN mounts the CVFs and assigns them the drive
  1329.   letters specified in DBLSPACE.INI.  If a user has a CVF
  1330.   named DBLSPACE.000, and almost all will, DBLSPACE.BIN
  1331.   swaps its drive letter with the host drive.  The
  1332.   compressed drive becomes C:, and the uncompressed drive
  1333.   becomes a letter from D: to Z: chosen by the user.
  1334.   Remember that if the CVF is named DBLSPACE.000 it means
  1335.   that the user compressed-in-place their C: drive, and so
  1336.   it must continue to be the C: drive.  Hence, the letters
  1337.   are swapped.
  1338.   CONFIG.SYS is processed exactly as on an uncompressed
  1339.   system.
  1340.  
  1341. If MS-DOS encounters the line DEVICEHIGH=C:\DOS\DBLSPACE.SYS
  1342. /MOVE in CONFIG.SYS, it relocates DBLSPACE.BIN from the top
  1343. of conventional memory to an Upper Memory Block (UMB).  Why
  1344. this sequence of loading and then relocating?  Recall that
  1345. IO.SYS loads DBLSPACE.BIN before processing of CONFIG.SYS.
  1346. By definition, then, a memory manager such as EMM386 is not
  1347. present and so UMBs do not exist.  Therefore IO.SYS must
  1348. load DBLSPACE.BIN into conventional memory, which is less
  1349. than optimal on 386 and 486 systems.  But DBLSPACE.BIN loads
  1350. at the top of the 640K, and not the bottom, so it can later
  1351. relocate to a UMB without leaving a hole in lower
  1352. conventional memory and fragmenting it.
  1353.  
  1354. If there is no reference to DBLSPACE.SYS in CONFIG.SYS, MS-
  1355. DOS automatically relocates DBLSPACE.BIN from the top of
  1356. conventional memory to the bottom at the end of processing
  1357. CONFIG.SYS (the line DEVICE=C:\DOS\DBLSPACE.SYS /MOVE has
  1358. the same effect).  So DoubleSpace works properly without any
  1359. explicit reference in CONFIG.SYS.
  1360.  
  1361. MRCI:  Microsoft Real-time Compression Interface
  1362. The Microsoft Real-time Compression Interface, or MRCI, is a
  1363. specification we developed that defines an interface between
  1364. compression clients and compression servers.  A compression
  1365. client is any software user of compression, such as backup
  1366. programs or network transports; a compression server is any
  1367. software or dedicated hardware that provides compress-
  1368. decompress services.  For example, DoubleSpace's disk-space
  1369. manager is a client, and its compress-decompress engine is a
  1370. server, and both conform to the MRCI specification.  MRCI
  1371. has two purposes:
  1372.   To define standard, system-level compress-decompress
  1373.   services that software developers can use
  1374.   To define a standard way for hardware vendors and PC
  1375.   manufacturers to implement dedicated compression hardware
  1376.  
  1377. MRCI defines an INT 1A rendezvous call that lets a MRCI
  1378. client check for the presence of a MRCI server.  If a server
  1379. is present, like DoubleSpace or dedicated hardware, the
  1380. client can disable its own internal software compression-
  1381. decompression routines.  It can then use the MRCI server by
  1382. following the MRCI standards for passing data to and from
  1383. the server.
  1384.  
  1385. There are four benefits of dedicated compression hardware:
  1386. 1.Performance:  Even on a fast system, tightly-integrated
  1387.   hardware (on the local bus, for example) will improve
  1388.   DoubleSpace performance.
  1389. 2.Multitasking performance:  When used by a multithreaded
  1390.   operating system such as Windows NT, the compression
  1391.   hardware is effectively a highly specialized second CPU,
  1392.   and it frees up the main CPU to execute other threads not
  1393.   requesting compression services.
  1394. 3.                                                            Better compression:
  1395.   By using a different compression algorithm, hardware can improve compression
  1396.   ratios 10%-15% without any performance penalty.
  1397. 4.Memory savings:  If DoubleSpace detects the presence of
  1398.   MRCI hardware server, it discards its own software
  1399.   server, saving 14K-16K of conventional memory or UMBs.
  1400.  
  1401. MRCI defines not only a standard interface but a standard
  1402. compression format as well.  This means that given a stream
  1403. of uncompressed bytes as input, all MRCI servers output the
  1404. exact same stream of compressed bytes, and vice-versa for
  1405. decompression.   Users will want to transfer compressed data
  1406. between systems, and this means it will be compressed on one
  1407. system and decompressed on another.  Therefore, all
  1408. compressors and decompressors must adhere to a standard
  1409. format.   Examples of data interchange include sneaker-
  1410. netting compressed floppy disks, transferring compressed
  1411. files across the network, or transferring compressed data
  1412. across a modem.
  1413.  
  1414. Technical Q&A
  1415.  
  1416. Why not eliminate the extra drive letter?
  1417. Users need to be able to store files uncompressed because
  1418. there are and will be performance-critical applications that
  1419. work best with uncompressed data.  Databases are one
  1420. example.  Any operating system that compresses in real-time
  1421. must provide uncompressed as well as compressed file
  1422. services, and in MS-DOS there are two ways we could have
  1423. provided both:
  1424. 1.Create a new set of parallel file API's:  open
  1425.   uncompressed file, read uncompressed file, write
  1426.   uncompressed file, and so on.
  1427. 2.Use two drive letters, one providing access to compressed
  1428.   data, the other access to uncompressed data
  1429.  
  1430. #1 eliminates the extra drive letter, but is incompatible
  1431. with the installed base of applications that don't know
  1432. about the new API's and require access to uncompressed data.
  1433. The permanent swap-file technology in Windows 3.1 is an
  1434. example.
  1435.  
  1436. #2 provides a backwards-compatible way for all applications
  1437. to coexist with compression, and also provides a simple way
  1438. for users who need performance to store data uncompressed.
  1439. And since DoubleSpace eliminates the usability problems
  1440. associated with the extra drive letter, it is the optimal
  1441. solution for users.
  1442.  
  1443. Why not implement compression file-by-file instead of using
  1444.   a CVF?
  1445. "File-by-file compression" means that instead of storing all
  1446. compressed data in a CVF, the existing FAT file system would
  1447. just store files like today, but compressed.  The key
  1448. advantage of file-by-file compression is that it would
  1449. permit use of multiple compression algorithms optimized for
  1450. different file types (.EXE's, .BMPs, etc.).  However, it has
  1451. several significant disadvantages:
  1452.   It would require changing the FAT on-disk format and so
  1453.   cause significant compatibility problems.  For example,
  1454.   if a user booted a file-by-file compressed MS-DOS 6
  1455.   system with an MS-DOS 5 floppy, a write operation could
  1456.   scramble data on the disk.  Since the CVF appears to FAT
  1457.   as just another file, compatibility problems are moot.
  1458.   It does not eliminate cluster-overhang, and the savings
  1459.   from eliminating cluster-overhang are significant.
  1460.   Multiple algorithms mean that DoubleSpace would require
  1461.   more conventional memory.
  1462.   Multiple algorithms make interchange of compressed data
  1463.   much more complex since there would be no single
  1464.   compression format.
  1465.  
  1466. In short, the benefit of file-by-file compression does not
  1467.   outweigh the costs.
  1468.  
  1469.  
  1470.  
  1471. Appendix B:  A brief history of MS-DOS
  1472.  
  1473. Date        Vers  Key new features
  1474.             ion
  1475. August      1.0   First version for the IBM PC
  1476. 1981
  1477. May 1982    1.1   Double-sided floppy disk support
  1478. March 1983  2.0   Support for hierarchical files and hard
  1479.                   disks
  1480. October     2.1   PC DOS introduced with the PCjr
  1481. 1983
  1482. August      3.0   Support for 1.2 MB floppy disks
  1483. 1984
  1484. March 1985  3.1   Support for Microsoft Networks
  1485. December    3.2   Support for 3.5-inch drives
  1486. 1985
  1487. April 1987  3.3   Support for multiple partitions, improved
  1488.                   foreign character support
  1489. Novmeber    4.0   Support for hard disk partitions over
  1490. 1988              32MB, shell, EMS support
  1491. June 1991   5.0   MS-DOS kernel loads in HMA, 80386 memory
  1492.                   management, new shell, task swapper, on-
  1493.                   line help, full-screen editor.  Available
  1494.                   as an upgrade.
  1495.  
  1496.  
  1497.